package com.hxzy.springbootrocketproducer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Fan
 * mq事务日志
 * finished
 */
@Data
@TableName(value = "t_mq_transaction_log")
public class MqTransactionLog implements Serializable {

    /**
     * 唯一事务ID
     * IdType枚举NONE-->状态 1
     */
    @TableId(value = "transaction_id",type = IdType.NONE)
    private String transactionId;

    /**
     * 日志
     */
    @TableField(value = "log")
    private String log;

}
